<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
<div class="right">
    <div>
        <table style="border: 1px solid black">
            <tr>
                <th>用户编号：</th>
                <td>${user.account}</td>
            </tr>
            <tr>
                <th>账号：</th>
                <td>${user.realName}</td>
            </tr>
            <tr>
                <th>性别：</th>
                <td>${user.sex == 1 ? "男" : "女"}</td>
            </tr>
            <tr>
                <th>出生日期：</th>
                <td><fmt:formatDate value="${user.birthday}" pattern="yyyy-MM-dd"/></td>
            </tr>
            <tr>
                <th>手机号码：</th>
                <td>${user.phone}</td>
            </tr>
            <tr>
                <th>地址：</th>
                <td>${user.address}</td>
            </tr>
            <tr>
                <th>角色：</th>
                <td>${user.roleIdName}</td>
            </tr>
        </table>
        <button id="back">返回</button>
    </div>
</div>
</section>
<script src="${pageContext.request.contextPath}/statics/js/jquery-1.8.3.min.js"></script>
<script>
    $(document).ready(function (){
        $("#back").click(function (){
            history.back();
        })
    })
</script>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>